// ? 全局默认配置项(宏定义)

//角色编号
export const ROLE_NO_TEACHER = "01"; //教师
export const ROLE_NO_STUDENT = "02"; //学生
export const SUPER_ADMIN = "03"; // 超级管理

export const NEW_MANAGER = "04";  // 新闻管理

export const UNIT_HUMAN = "05";  // 部门人员管理

export const Notice_MANAGER = "06";//通知管理

export const FeedBack_Handle = "07";//意见反馈查看员

export const ACTIVITY_MANAGER = "08";// 活动管理员

export const EVENT_MANAGER = "09"; //大事管理员

export const PHOTO_MANAGER = "10"; //风采/照片管理员

export const COMPLEX_MANAGER = "11"; //综测管理员

export const LOG_MANAGER = "12"; //日志管理员

//模块访问权限
export const READ_MESSAGE = [ROLE_NO_TEACHER,SUPER_ADMIN]; //学生信息
export const READ_UPDATE_AWARD = [ROLE_NO_TEACHER,ROLE_NO_STUDENT,SUPER_ADMIN]; //上传奖惩罚、竞赛信息
export const READ_AWARD_MESSAGE = [ROLE_NO_TEACHER,ROLE_NO_STUDENT,SUPER_ADMIN]; //奖惩信息
export const READ_ALL_AWARD_MESSAGE = [ROLE_NO_TEACHER,SUPER_ADMIN]; //全部奖惩讯息
export const READ_INSTRUCTOR = [ROLE_NO_TEACHER,SUPER_ADMIN]; //辅导员
export const READ_UNIT = [ROLE_NO_TEACHER,SUPER_ADMIN]; //部门信息
export const READ_UNIT_HUMAN = [ROLE_NO_TEACHER, SUPER_ADMIN] //部门成员管理
export const UNIT_MANAGE = [UNIT_HUMAN] //部门成员管理 勿删
export const LEAVE_APPLY=[ROLE_NO_STUDENT,SUPER_ADMIN] // 请假申请
export const LEAVE_APPROVAL=[ROLE_NO_TEACHER,SUPER_ADMIN] // 请假审批
export const OPINION_APPLY = [ROLE_NO_STUDENT,SUPER_ADMIN] // 意见反馈
export const OPINION_VIEW = [ROLE_NO_TEACHER,SUPER_ADMIN] // 查看意见、反馈

export const COMPLEX_APPROVAL = [ROLE_NO_TEACHER, SUPER_ADMIN, COMPLEX_MANAGER] // 综测审批
export const COMPLEX_COMMITTEE = [COMPLEX_MANAGER] // 综测班委
export const COMPLEX_VIEW = [SUPER_ADMIN, ROLE_NO_STUDENT] // 综测查看
export const PHOTO_MANAGE = [ROLE_NO_TEACHER, SUPER_ADMIN, PHOTO_MANAGER] // 照片管理
export const LOG = [ROLE_NO_TEACHER,SUPER_ADMIN,LOG_MANAGER] // 日志查看

export const EVENT = [ROLE_NO_TEACHER, SUPER_ADMIN, EVENT_MANAGER] // 大事管理
export const ACTIVITY = [ROLE_NO_TEACHER, SUPER_ADMIN, ACTIVITY_MANAGER] // 发布管理活动
export const NEWS = [ROLE_NO_TEACHER, SUPER_ADMIN, NEW_MANAGER] // 学院新闻

export const Notices = [ROLE_NO_TEACHER, SUPER_ADMIN, Notice_MANAGER]//学院通知
export const Construction = [ROLE_NO_TEACHER, SUPER_ADMIN]//学院党团建
export const FeedbackHandle = [ROLE_NO_TEACHER, SUPER_ADMIN, FeedBack_Handle]// 意见反馈处理
export const AllProjectMessage = [ROLE_NO_TEACHER, SUPER_ADMIN, FeedBack_Handle]// 意见反馈处理
export const AllFieldworkMessage = [ROLE_NO_TEACHER, SUPER_ADMIN, FeedBack_Handle]// 意见反馈处理
